package ch.fusun.baron.treasury.ui;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.menus.WorkbenchWindowControlContribution;

/**
 * @author dezanets
 * 
 */
public class TreasuryContributionImage extends
		WorkbenchWindowControlContribution {

	/**
	 * 
	 */
	public TreasuryContributionImage() {
	}

	/**
	 * @param id
	 */
	public TreasuryContributionImage(String id) {
		super(id);
	}

	@Override
	protected Control createControl(Composite parent) {
		Label image = new Label(parent, SWT.NONE);
		image.setImage(Activator.getImage(Activator.MONEY_ICON));
		return image;
	}

}
